<?php

/*
 * This is to update disease info.
 */
include '../../include/config.php';
mysql_query("update baby_user_diseases set `disease` = '".$_POST['disease']."', `resolved` = '".$_POST['resolved']."', `progress` = '".$_POST['progress']."',`porter`='".$_POST['porter']."', medication = '".$_POST['medication']."' where bid='".$_COOKIE['bid']."' and sr = '".$_POST['sr']."' ")  or die(mysql_error()) ;
header('Location:../view/Diseases');
?>
